<%@page import="com.gmcc.bi.utils.RedisClusterUtil"%>
<%@page import="com.gmcc.bi.utils.CookieUtils"%>
<%@page import="com.gmcc.bi.common.Constant"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Map"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
    String userId = "admin";
    Map userMap = new HashMap();
	userMap.put("user_id",userId);
	userMap.put("user_name",userId);
	userMap.put("user_account",userId);
	String ssId = request.getSession().getId();
	CookieUtils.addCookie(response, "COOKIE_ID", ssId, 3600);
	CookieUtils.addCookie(response, "USER_ROLEID", userId, 3600);
	CookieUtils.addCookie(response, "USER_NAME", userId, 3600);
	/* RedisUtil.hmSet(Constant.REDIS_+ssId, userMap, 3600); */
	RedisClusterUtil.getInstance().putDataMap(Constant.REDIS_+ssId, userMap);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>监控中心</title>

<script type="text/javascript">
     document.location.href="index.html";

</script>
</head>
<body>
</body>
</html>
